package com.ruoyi.project.tencent.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.tencent.mapper.TcTravelLicenseAuxiliaryMapper;
import com.ruoyi.project.tencent.domain.TcTravelLicenseAuxiliary;
import com.ruoyi.project.tencent.service.ITcTravelLicenseAuxiliaryService;

/**
 * 腾讯云-用户行驶证副页Service业务层处理
 * 
 * @author ruoyi
 * @date 2020-06-08
 */
@Service
public class TcTravelLicenseAuxiliaryServiceImpl implements ITcTravelLicenseAuxiliaryService 
{
    @Autowired
    private TcTravelLicenseAuxiliaryMapper tcTravelLicenseAuxiliaryMapper;

    /**
     * 查询腾讯云-用户行驶证副页
     * 
     * @param tlaid 腾讯云-用户行驶证副页ID
     * @return 腾讯云-用户行驶证副页
     */
    @Override
    public TcTravelLicenseAuxiliary selectTcTravelLicenseAuxiliaryById(Long tlaid)
    {
        return tcTravelLicenseAuxiliaryMapper.selectTcTravelLicenseAuxiliaryById(tlaid);
    }

    /**
     * 查询腾讯云-用户行驶证副页列表
     * 
     * @param tcTravelLicenseAuxiliary 腾讯云-用户行驶证副页
     * @return 腾讯云-用户行驶证副页
     */
    @Override
    public List<TcTravelLicenseAuxiliary> selectTcTravelLicenseAuxiliaryList(TcTravelLicenseAuxiliary tcTravelLicenseAuxiliary)
    {
        return tcTravelLicenseAuxiliaryMapper.selectTcTravelLicenseAuxiliaryList(tcTravelLicenseAuxiliary);
    }

    /**
     * 新增腾讯云-用户行驶证副页
     * 
     * @param tcTravelLicenseAuxiliary 腾讯云-用户行驶证副页
     * @return 结果
     */
    @Override
    public int insertTcTravelLicenseAuxiliary(TcTravelLicenseAuxiliary tcTravelLicenseAuxiliary)
    {
        return tcTravelLicenseAuxiliaryMapper.insertTcTravelLicenseAuxiliary(tcTravelLicenseAuxiliary);
    }

    /**
     * 修改腾讯云-用户行驶证副页
     * 
     * @param tcTravelLicenseAuxiliary 腾讯云-用户行驶证副页
     * @return 结果
     */
    @Override
    public int updateTcTravelLicenseAuxiliary(TcTravelLicenseAuxiliary tcTravelLicenseAuxiliary)
    {
        return tcTravelLicenseAuxiliaryMapper.updateTcTravelLicenseAuxiliary(tcTravelLicenseAuxiliary);
    }

    /**
     * 批量删除腾讯云-用户行驶证副页
     * 
     * @param tlaids 需要删除的腾讯云-用户行驶证副页ID
     * @return 结果
     */
    @Override
    public int deleteTcTravelLicenseAuxiliaryByIds(Long[] tlaids)
    {
        return tcTravelLicenseAuxiliaryMapper.deleteTcTravelLicenseAuxiliaryByIds(tlaids);
    }

    /**
     * 删除腾讯云-用户行驶证副页信息
     * 
     * @param tlaid 腾讯云-用户行驶证副页ID
     * @return 结果
     */
    @Override
    public int deleteTcTravelLicenseAuxiliaryById(Long tlaid)
    {
        return tcTravelLicenseAuxiliaryMapper.deleteTcTravelLicenseAuxiliaryById(tlaid);
    }
}
